/**
 * 
 */
package com.hu.ta.assignment5.beans;

import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;

/**
 * @author cage@g.com
 */
public class Viterbi<T> {

	private Map<String /* TAG */, Map<String /* Word */, T>> map;

	public Viterbi() {
		map = new HashMap<String, Map<String, T>>();
	}

	public void put(String token, Map<String, T> map) {
		this.map.put(token, map);
	}

	public Map<String, T> get(String token) {
		return map.get(token);
	}

	public Set<Entry<String, Map<String, T>>> entrySet() {
		return map.entrySet();
	}
}
